package de.szut.bomberman.graphics.gamefield;

import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class Field {

	private BufferedImage texture;
	
	public Field() {
		try {
			texture = ImageIO.read(new File("graphic-objects/gameField.bmp"));
			System.out.println(texture.getWidth());
			System.out.println(texture.getHeight());
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	/**
	 * Returns the gamefield texture
	 * @return gamefield texture
	 */
	public BufferedImage getTexture() {
		return texture;
	}
}
